﻿//Portions Copyright (C) 2011 Randall Shattuck
//Portions Copyright (C) 2007-2010 Owners of libeveapi 
//    (http://libeveapi.googlecode.com)
//
//EveDashboard.Api was forked from libeveapi 1.1.3
//
//This program is free software; you can redistribute it and/or modify it under
//the terms of the GNU General Public License as published by the Free Software 
//Foundation; either version 2 of the License, or (at your option) any later 
//version.
//
//This program is distributed in the hope that it will be useful, but WITHOUT 
//ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
//FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 
//details. You should have received a copy of the GNU General Public License 
//along with this program; if not, write to the Free Software Foundation, Inc.,
//59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//-----------------------------------------------------------------------------

using System;

namespace EveDashboard.Api
{
    /// <summary>
    /// If the character is enlisted in Factional Warfare, this will return the
    /// faction the character is enlisted in, the current rank and the highest
    /// rank the character ever had attained, and how many kills and victory
    /// points the character obtained yesterday, in the last week, and total.
    /// </summary>
    public class CharFacWarStats : ApiResponse
    {
        /// <summary>
        /// API Version Compatibility
        /// </summary>
        public const string API_VERSION = "2";

        #region Fields
        private int m_factionID;
        private String m_factionName;
        private DateTime m_enlisted;
        private int m_currentRank;
        private int m_highestRank;
        private int m_killsYesterday;
        private int m_killsLastWeek;
        private int m_killsTotal;
        private int m_victoryPointsYesterday;
        private int m_victoryPointsLastWeek;
        private int m_victoryPointsTotal;
        #endregion Fields

        #region Properties
        public int FactionID
        {
            get { return m_factionID; }
            set { m_factionID = value; }
        }

        public String FactionName 
        {
            get { return m_factionName; }
            set { m_factionName = value; }
        }
        #endregion Properties


        public DateTime Enlisted
        { 
            get { return m_enlisted; } 
            set { m_enlisted = value; } 
        }

        public int CurrentRank
        {
            get { return m_currentRank; }
            set { m_currentRank = value; } 
        }

        public int HighestRank
        {
            get { return m_highestRank; }
            set { m_highestRank = value; }
        }

        public int KillsYesterday
        {
            get { return m_killsYesterday; }
            set { m_killsYesterday = value; }
        }

        public int KillsLastWeek
        {
            get { return m_killsLastWeek; }
            set { m_killsLastWeek = value; }
        }

        public int KillsTotal
        {
            get { return m_killsTotal; }
            set { m_killsTotal = value; }
        }

        public int VictoryPointsYesterday
        {
            get { return m_victoryPointsYesterday; }
            set { m_victoryPointsYesterday = value; }
        }

        public int VictoryPointsLastWeek
        {
            get { return m_victoryPointsLastWeek; }
            set { m_victoryPointsLastWeek = value; }
        }

        public int VictoryPointsTotal
        {
            get { return m_victoryPointsTotal; }
            set { m_victoryPointsTotal = value; }
        }
    }
}
